package com.esreport;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling//开启定时器
@ImportResource(locations = {"classpath:bean.xml"})
public class EsreportApplication {

    public static void main(String[] args) {
        SpringApplication.run(EsreportApplication.class, args);
    }

}

